package com.ly.heart.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ly.common.core.domain.ActCurrentTaskVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "销售报价单变更单返回Vo")
@JsonInclude(JsonInclude.Include.ALWAYS)
@Accessors(chain = true)
public class SaleQuotationDetailVo implements Serializable {

    @ApiModelProperty("报价单id")
    private String saleQuotationId;

    @ApiModelProperty("明细id")
    private String materialDetailId;

    @ApiModelProperty("时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date saleDate;

    @ApiModelProperty("单据编号")
    private String saleQuotationCode;

    @ApiModelProperty("客户")
    private String customerName;

    @ApiModelProperty("销售部门")
    private String saleDeptName;

    @ApiModelProperty("状态")
    private String state;

    @ApiModelProperty("物料名称")
    private String materialName;

    @ApiModelProperty("物料编码")
    private String materialCode;

    @ApiModelProperty("销售单位")
    private String unitName;

    @ApiModelProperty("数量")
    private String number;

    @ApiModelProperty("单价")
    private String price;

    @ApiModelProperty("含税单价")
    private String taxPrice;

    @ApiModelProperty("金额")
    private String amountMoney;

    @ApiModelProperty("价税合计")
    private String totalTaxPrice;

    @ApiModelProperty("流程实例id")
    private String instanceId;

    @ApiModelProperty ( "当下审批人" )
    private String approvedUser;

    @ApiModelProperty ( "审批内容" )
    private String remark;

    @ApiModelProperty ( "当前任务信息" )
    private ActCurrentTaskVo currentTask;

    @ApiModelProperty ( "创建时间" )
    @JsonFormat ( pattern = "yyyy-MM-dd HH:mm:ss" )
    private Date createTime;


}
